package com.kx.face.config;

import com.baidu.aip.face.AipFace;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 百度人脸服务应用列表的参数
 * @Author Sun
 * @Date 2021/7/20 23:16
 */
@Configuration
public class BaiduConfig {
    /**
     * AAP_ID
     */
    public static final String APP_ID="24579838";
    /**
     * APP_KEY
     */
    public static final String APP_KEY="s2fm4pGPtBoejjLd8PfufKmf";
    /**
     * SECRET_KEY
     */
    public static final String SECRET_KEY="k8kmXLBKg6hMGjW9S8TlZxQGHbWCjnmE";

    @Bean
    public AipFace getAipFace(){
        return new AipFace(APP_ID,APP_KEY,SECRET_KEY);
    }
}
